package com.datalayer.utils;

/**
 * Created with IntelliJ IDEA.
 * User: Georgiana.Scarlat
 * Date: 6/22/12
 * Time: 2:59 PM
 */
public class Column {
    private String name;
    private String type;
    private String constraint;

    public Column(String name, String type, String constraint) {
        this.constraint = constraint;
        this.name = name;
        this.type = type;
    }

    @Override
    public String toString() {
        return name + " " + type + " " + constraint;
    }

    public String getName() {
        return name;
    }

    public String getType() {
        return type;
    }

}
